package eu.webhib.frmwrk.jsf.exception;

import javax.faces.context.ExceptionHandler;

/**
 * Own exception handler for exception throw within JSF processing
 */
public class ApplExceptionHandlerFactory extends javax.faces.context.ExceptionHandlerFactory {

   private javax.faces.context.ExceptionHandlerFactory parent;

   public ApplExceptionHandlerFactory(javax.faces.context.ExceptionHandlerFactory parent) {
      this.parent = parent;
   }

   @Override
   public ExceptionHandler getExceptionHandler() {
      return new ApplExceptionHandler(parent.getExceptionHandler());
   }
}